body{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    box-sizing: border-box;
}
a, img {
    -webkit-touch-callout: none;
}
a,button,input,optgroup,select,textarea{
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    border: 0;
}
body * {
    margin: 0;
    padding: 0;
    outline: 0;
    text-shadow: none!important;
}
.h5ds-swiper{
    perspective: 1000px; 
    transform-style: preserve-3d; 
    overflow: hidden; 
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 800;
    top: 0;
    left: 0;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    /* left: 50%;
    transform: translateX(-50%); */
}
.h5ds-swiper-page{
    width: 100%;
    height: 100%!important;
    overflow: auto;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg);
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition-timing-function: cubic-bezier(0.1, 0.57, 0.1, 1);
    user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    /* opacity: 0; /* 先渲染，兼容苹果的bug */
    display: none;
}
.h5ds-swiper-pageinner{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    top: 0;
    left: 0;
}
/*
.h5ds-swiper-pageinner[style~='486px'] {
    height: 100%!important;
}
*/
.h5ds-swiper-layers{
    display: none;
    transform: translate3d(0, 0, 0);
    transform-origin: center;
    position: relative;
    z-index: 1;
    width:320px;
    height:486px;
    .layer{
        -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg);
        transform: translate3d(0, 0, 0) rotateZ(0deg);
        position: absolute;
        box-sizing: border-box;
    }
    .element{
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    .layer-img img,
    .layer-svg svg{
        width: 100%;
        height: 100%;
        position: relative;
        float: left;
        top: 0;
        left: 0;
        border-radius: inherit;
        transform: translateZ(0); /* 防止图片模糊 */
    }
}

.h5ds-swiper-current{
    z-index: 100;
    -webkit-transform: translate3d(0, 0, 0) rotateZ(0deg);
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    animation-fill-mode : forwards;
    display: block;
    // .h5ds-swiper-layers{
    //     display: block;
    // }
}

#h5dsPopups,
#h5dsFixedsDown,
#h5dsFixedsUp {
    .h5ds-swiper-page,
    .h5ds-swiper-pageinner,
    .h5ds-swiper-layers{
        display: block;
        overflow: initial;
    }
}

.h5ds-loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #252a2e;
    color: #fff;
    z-index: 9999;
}
.h5ds-loadinner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
}

/* MP3 图标 */
.h5ds-video-icon{
    display: inline-block;
    vertical-align: middle;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(0,0,0,0.3);
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9998;
    cursor: pointer;
    i{
        display: inline-block;
        width: 1px;
        background: #fff;
        margin-left: 3px;
    }
    i:nth-child(1) {
        height: 3px;
    }
    i:nth-child(2) {
        height: 6px;
    }
    i:nth-child(3) {
        height: 9px;
    }
    i:nth-child(4) {
        height: 12px;
    }
}
@keyframes mp3play {
    from { height: 2px;}
    to {height: 12px;}
}
.h5ds-video-iconing{
    i{
        animation-name: mp3play;
        animation-duration: 0.4s;
        animation-direction: alternate;
        animation-iteration-count: infinite;
    }
    i:nth-child(1) {
        animation-delay: 0.2s;
    }
    i:nth-child(2) {
        animation-delay: 0.5s;
    }
    i:nth-child(3) {
        animation-delay: 0.1s;
    }
    i:nth-child(4) {
        animation-delay: 0.4s;
    }
}

/* 弹窗 */
#h5dsPopups, #h5dsFixedsUp, #h5dsFixedsDown{
    position: absolute;
    z-index: 1000;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
}
#h5dsFixedsUp{
    z-index: 900;
}
#h5dsFixedsDown{
    z-index: 700;
}
#h5dsFixedsUp .h5ds-swiper-page,
#h5dsFixedsDown .h5ds-swiper-page,
#h5dsPopups .h5ds-swiper-page{
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
}
#h5dsFixedsUp .h5ds-swiper-page,
#h5dsFixedsDown .h5ds-swiper-page{
    display: block;
    overflow: visible;
    width: 0;
    height: 0;
}
#h5dsFixedsUp .h5ds-swiper-page .h5ds-swiper-layers,
#h5dsFixedsDown .h5ds-swiper-page .h5ds-swiper-layers {
    width: 0;
    height: 0;
}
#h5dsFixedsUp .h5ds-swiper-page .layer,
#h5dsFixedsDown .h5ds-swiper-page .layer,
#h5dsPopups .h5ds-swiper-page .layer{
    display: block;
}

.amap-adcombo-close {
	position: absolute;
	top: 4px;
	right: 4px;
	background: url(http://webapi.amap.com/images/close.png) center center no-repeat #ccc;
	width: 18px;
	height: 18px;
	text-indent: -9999em
}
.amap-infos{
	padding: 20px;
	font-size: 14px;
}
.amap-adcontent-body {
    width: 200px;
	box-shadow: 0 0 .5px rgba(0,0,100,.6);
	background: #fff;
	border-radius: 2px;
	text-align: left;
	border: 1px solid silver
}
